package com.example.stock.ui.order;

import android.annotation.SuppressLint;
import android.util.SparseBooleanArray;
import android.view.View;
import android.widget.CompoundButton;

import com.example.stock.BR;
import com.example.stock.R;
import com.example.stock.base.BaseRecyclerViewAdapter;
import com.example.stock.base.CommonViewHolder;
import com.example.stock.config.Config;
import com.example.stock.databinding.ItemRecyclerGoodsBinding;
import com.example.stock.databinding.ItemRecyclerGoodsBindingImpl;
import com.example.stock.model.GoodsOrderBean;
import com.google.android.material.snackbar.Snackbar;

import java.util.ArrayList;
import java.util.List;

import androidx.databinding.ViewDataBinding;

public class GoodItemAdapter extends BaseRecyclerViewAdapter<GoodsOrderBean> {

    private final boolean isUpload;

    public GoodItemAdapter(boolean isUpload, int type) {
        this.isUpload = isUpload;
    }

    @Override
    protected int layoutId(int viewType) {
        return R.layout.item_recycler_goods;
    }

    @Override
    protected int variableId() {
        return BR.itemBean;
    }

    @Override
    protected void convert(CommonViewHolder<GoodsOrderBean> holder, GoodsOrderBean entity, int position) {
        super.convert(holder, entity, position);
    }
}
